/*
 * @Description: 
 * @version: 
 * @Author: ZJC
 * @Date: 2023-10-25 10:57:12
 * @LastEditors: ZJC
 * @LastEditTime: 2023-10-25 16:02:52
 */
import { Boot } from "@wangeditor/editor";
import menus from "./modules/menu/index"
import elem from "./modules/elem/index"

export function initComponent() {
    Boot.registerModule({
        menus: menus,
        renderElems: elem.renderElems,
        elemsToHtml: elem.elemsToHtml,
        parseElemsHtml: elem.parseElemsHtml,
    })
}
